/*
 * Author: JacksonCoder
 * FileName: MetaspaceOverflow
 * Version: 1.0.0
 * Date: 2025/2/15
 */

//import javassist.ClassPool;

public class MetaspaceOverflow {

    public static void main(String[] args) {
//        ClassPool classPool = ClassPool.getDefault();
//        for (int i = 0; ; i++) {
//            classPool.makeClass("Class" + i).toClass(); // 动态创建大量的类
//        }
        System.out.println("元空间溢出");
    }

}
